<template>
	<view>
		<view class="main">
			<view v-html="content"></view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				content: ''
			};
		},
		onLoad() {
			this.initData()
		},
		methods: {
			initData(){
				let sendData = {
					key:'合作协议'
				};
				this.apifun.unirequest('/partner/index/getAgreement','post',sendData,(res)=>{
					if(res.code === 200){
						let datas = res.data;
						this.content = datas;
					}else{
						this.apifun.toast(res.msg)
					}
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.main{
		padding: 36rpx 40rpx;
		box-sizing: border-box;
	}
</style>
